﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace MAT
{
    public partial class frmManageSupplier : Form
    {
        Controllers.ctrManageSupplier _ctrManageSupplier = new Controllers.ctrManageSupplier();
        public frmManageSupplier()
        {
            InitializeComponent();
            _ctrManageSupplier.FrmManageSupplier = this;
        }

        private void frmManageSupplier_Load(object sender, EventArgs e)
        {
            _ctrManageSupplier.frmManageSupplier_Load();
        }

        private void btnAdd_Click(object sender, EventArgs e)
        {
            _ctrManageSupplier.btnAdd_Click();
        }

        private void btnReset_Click(object sender, EventArgs e)
        {
            _ctrManageSupplier.btnReset_Click();
        }

        private void btnClose_Click(object sender, EventArgs e)
        {
            _ctrManageSupplier.btnClose_Click();
        }

        private void btnDelete_Click(object sender, EventArgs e)
        {
            _ctrManageSupplier.btnDelete_Click();
        }

        private void btnEdit_Click(object sender, EventArgs e)
        {
            _ctrManageSupplier.btnEdit_Click();
        }

        private void cmbSupplierName_SelectedIndexChanged(object sender, EventArgs e)
        {
            _ctrManageSupplier.cmbSupplierName_SelectedIndexChanged();
        }

        private void txt_KeyDown(object sender, KeyEventArgs e)
        {
            _ctrManageSupplier.txt_KeyDown(e);
        }

    }
}
